test_median_abi_sources = [
  '../../../main.cpp',
  'test_median_abi.cpp',
]

test_median_abi = executable(
  'test_median_abi',
  test_median_abi_sources,
  include_directories: [
    include_directories('.'),
    include_directories('../../../..'),
    include_directories('../../../../drivers/debounce/median'),
    include_directories('../../../../include'),
    include_directories('../../../../gen'),
  ],
  dependencies: [
    gtest_dep,
    test_utilities_dep,
    libmcpp_deps,
    internal_dep,
    test_utils_dep,
  ],
  cpp_args: ['-DUNIT_TEST'],
  install: false,
  link_whole: [median_static_lib]
)

test('test_median_abi', test_median_abi, timeout: 300, suite: 'median') 